package ca.quicko.service.impl;

import java.util.List;

import org.appfuse.service.impl.GenericManagerImpl;

import ca.quicko.dao.SolutionDao;
import ca.quicko.model.Solution;
import ca.quicko.service.SolutionManager;

/**
 * @author <a href="mailto:eric.s.landry@gmail.com">Eric S. Landry</a>
 */
public class SolutionManagerImpl extends GenericManagerImpl<Solution, Long>
		implements SolutionManager {
	SolutionDao solutionDao;

	public SolutionManagerImpl(SolutionDao solutionDao) {
		super(solutionDao);
		this.solutionDao = solutionDao;
	}

	public List<Solution> findByTitle(String title) {
		return solutionDao.findByTitle(title);
	}
}
